
@mixin select-widget{
  position: relative;
  z-index: 1;
  display: inline-block;
  cursor: pointer;
  transition: all 0.2s ease-out;
  opacity: 0.9;
  &:hover {
    opacity: 1;
    // background: rgba(0, 0, 0, 0.19);

    .select-list, .select-triangle {
      visibility: visible;
      transform: scaleY(1);
    }
    .down-icon {
      
      transform: rotate(180deg);
    }
  }
}
@mixin select-val {
  display: inline-block;
}
@mixin select-list($w:132px, $h:150px, $padd: 16px 0) {
    overflow: auto;
    visibility: hidden;
    position: absolute;
    top: 40px;
    left: 0;
    width: $w;
    height: $h;
    background: #fff;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
    transform-origin: top;
    transform: scaleY(0);
    padding: $padd;
}
@mixin select-triangle() {
    visibility: hidden;
    position: absolute;
    width: 0;
    height: 0;
    left: 60px;
    top: 28px;
    content: '';
    display: block;
    border-width: 7px 7px 7px 7px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}
.select-widget {
  @include select-widget();

  .select-val {
    @include select-val();
  }

  .select-triangle {
    @include select-triangle();
  }

  .select-list {
    @include select-list();
  }
}